package com.swgk.core.view.entity;

import java.io.Serializable;
import java.util.List;


/**
 * Created by fq on 2020/9/16 0016
 * Description：发布类型数据列表
 */
public class VideoTypeListEntity implements Serializable {

    /**
     * parentNo :
     * no : 5db11981e4b02d4643b70ec0
     * children : [{"parentNo":"5db11981e4b02d4643b70ec0","no":"5db706eae4b02d4643b70edf","children":[],"grade":"2","iconImg":"http://shigongbang-software.oss-cn-hangzhou.aliyuncs.com//sgb-gcxy/editor/20191129/5de0f7b9e4b0119bcf0855bf.jpg","name":"工队信息","id":88,"sort":5}]
     * grade : 1
     * iconImg : material/650000/20191234511092467024123.png
     * name : 平台培训
     * id : 40
     * sort : 1
     */

    private String parentNo;
    private String no;
    private String grade;
    private String iconImg;
    private String name;
    private int id;
    private int sort;
    private List<ChildrenBean> children;

    public String getParentNo() {
        return parentNo;
    }

    public void setParentNo(String parentNo) {
        this.parentNo = parentNo;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getIconImg() {
        return iconImg;
    }

    public void setIconImg(String iconImg) {
        this.iconImg = iconImg;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public List<ChildrenBean> getChildren() {
        return children;
    }

    public void setChildren(List<ChildrenBean> children) {
        this.children = children;
    }

    public static class ChildrenBean implements Serializable {
        /**
         * parentNo : 5db11981e4b02d4643b70ec0
         * no : 5db706eae4b02d4643b70edf
         * children : []
         * grade : 2
         * iconImg : http://shigongbang-software.oss-cn-hangzhou.aliyuncs.com//sgb-gcxy/editor/20191129/5de0f7b9e4b0119bcf0855bf.jpg
         * name : 工队信息
         * id : 88
         * sort : 5
         */

        private String parentNo;
        private String no;
        private String grade;
        private String iconImg;
        private String name;
        private int id;
        private int sort;
        private List<?> children;

        public String getParentNo() {
            return parentNo;
        }

        public void setParentNo(String parentNo) {
            this.parentNo = parentNo;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        public String getGrade() {
            return grade;
        }

        public void setGrade(String grade) {
            this.grade = grade;
        }

        public String getIconImg() {
            return iconImg;
        }

        public void setIconImg(String iconImg) {
            this.iconImg = iconImg;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public List<?> getChildren() {
            return children;
        }

        public void setChildren(List<?> children) {
            this.children = children;
        }
    }
}
